package kr.hkit.powerjava.chapter04;

import java.util.Scanner;

public class Programming02 {
	public static void main(String[] args) {
		int x;
		int y;
		
		Scanner input = new Scanner(System.in);
			
		System.out.println("받은돈을 입력하세요");
		x = input.nextInt();
		System.out.println("상품의 총액은");
		y = input.nextInt();
		System.out.println("받은돈:"+x);
		System.out.println("상품의 총액:"+y);
		System.out.println("부가세:"+ (y/10));
		System.out.println("잔돈:"+ (x-y));
		
	}

}
